package com.zzxy.spring5.service.impl;

import com.zzxy.spring5.service.IStudentService;
import org.springframework.stereotype.Service;

@Service
public class StuentServiceImpl implements IStudentService {

    @Override
    public void addStudent() {
        System.out.println("add success");

    }

    @Override
    public void delStudent() {
        System.out.println("delete success");
    }

    @Override
    public void updateStudent() {
        System.out.println("update success");
    }
    public int test(){
      // int i=1/0;
        System.out.println("test..");
        return 1;
    }
}

